package com.youlu.campus.service.activity;

import com.youlu.campus.entity.ActivityTaskRule;
import com.youlu.campus.entity.VO.req.CopyTaskRuleReq;

public interface ActivityTaskRuleService {

    boolean create(ActivityTaskRule req);

    boolean update(ActivityTaskRule req);

    ActivityTaskRule find(String activityId, String taskType);

    ActivityTaskRule find(String taskId);

    /**
     * 答题Qa 增加贡献值
     * @param activityId
     * @param point
     */
    void saveOrUpdateQa(String activityId,Integer point);

    /**
     * copy 任务规则
     * @param copyTaskRuleReq
     */
    void doCopyTaskRule(CopyTaskRuleReq copyTaskRuleReq);
}
